<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<!-- Meta, title, CSS, favicons, etc. -->
<base href="<%=basePath%>">
<meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<link href="images/favicon.ico" rel="icon" type="image/ico" />
<title>仿微博-随时随地发现新鲜事</title>
<!-- 基本框架 -->
<link href="<%=basePath%>static/css/bootstrap.min.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>static/css/dataTables.bootstrap.css"
	rel="stylesheet" type="text/css" />
<link href="<%=basePath%>static/css/table.css" rel="stylesheet"
	type="text/css" />
<!--dataTables js-->
<script src="<%=basePath%>static/js/jquery-1.10.2.min.js"
	type="text/javascript">
	
</script>
<script src="<%=basePath%>static/js/jquery.dataTables.min.js"
	type="text/javascript">
	
</script>
<script src="<%=basePath%>static/js/dataTables.bootstrap.js"
	type="text/javascript">
	
</script>
<!--框架css-->
<link href="<%=basePath%>static/css/detail.css" rel="stylesheet" />
<!-- Font Awesome -->
<link
	href="<%=basePath%>static/vendors/font-awesome/css/font-awesome.min.css"
	rel="stylesheet" />
<!-- NProgress -->
<link href="<%=basePath%>static/vendors/nprogress/nprogress.css"
	rel="stylesheet" />
<!-- iCheck -->
<link href="<%=basePath%>static/vendors/iCheck/skins/flat/green.css"
	rel="stylesheet" />
<!-- bootstrap-progressbar -->
<link
	href="<%=basePath%>static/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css"
	rel="stylesheet" />
<!-- JQVMap -->
<link href="<%=basePath%>static/vendors/jqvmap/dist/jqvmap.min.css"
	rel="stylesheet" />
<!-- bootstrap-daterangepicker -->
<link
	href="<%=basePath%>static/vendors/bootstrap-daterangepicker/daterangepicker.css"
	rel="stylesheet" />
<!-- Custom Theme Style -->
<link href="<%=basePath%>static/build/css/custom.min.css"
	rel="stylesheet" />
</head>
<body class="nav-md">
	<div class="container body">
		<div class="main_container">
			<div class="col-md-3 left_col">
				<div class="left_col scroll-view">
					<div class="navbar nav_title" style="border: 0;">
						<a class="site_title" href="<%=basePath%>"> <img
							src="<%=basePath%>static/images/logo.jpg"
							style="width: 40px; height: 40px;" /> <span> <strong>仿微博管理平台</strong>
						</span>
						</a>
					</div>
					<div class="clearfix"></div>
					<!-- menu profile quick info -->
					<div class="profile clearfix">
						<div class="profile_pic">
							<img src="<%=basePath%>${userSession.picPath}" alt="..."
								class="img-circle profile_img" />
						</div>
						<div class="profile_info">
							<span> 欢迎您! </span>
							<h2>${userSession.userName}</h2>
						</div>
					</div>
					<!-- /menu profile quick info -->
					<br />
					<!-- sidebar menu -->
					<div class="main_menu_side hidden-print main_menu"
						id="sidebar-menu">
						<div class="menu_section">
							<h3></h3>
							<ul class="nav side-menu">
								<li><a> <i class="fa fa-home"> </i> 个人中心 <span
										class="fa fa-chevron-down"> </span>
								</a>
									<ul class="nav child_menu">
										<li><a href="<%=basePath%>showUser"> 我的主页 </a></li>
										<li><a href="<%=basePath%>detail/showDetail"> 基本信息 </a></li>
									</ul></li>
								<li><a> <i class="fa fa-sitemap"> </i> 系统管理 <span
										class="fa fa-chevron-down"> </span>
								</a>
									<ul class="nav child_menu">
										<li><a href="<%=basePath%>funsType/showFunsType">
												趣事分类管理 </a></li>
										<li><a href="<%=basePath%>news/showNews"> 微博趣事管理 </a></li>
										<li><a href="<%=basePath%>comment/showComment"> 趣事评论管理 </a></li>
									</ul></li>
							</ul>
						</div>
					</div>
					<!-- /sidebar menu -->
				</div>
			</div>
			<!-- 主界面头部 -->
			<div class="top_nav">
				<div class="nav_menu">
					<nav>
						<div class="nav toggle">
							<a id="menu_toggle"> <i class="fa fa-bars"
								style="color: #3B5998;"> </i>
							</a>
						</div>
						<ul class="nav navbar-nav navbar-right">
							<li class=""><a aria-expanded="false"
								class="user-profile dropdown-toggle" data-toggle="dropdown"
								href="javascript:;">${userSession.userName} <span
									class=" fa fa-angle-down"> </span>
							</a>
								<ul class="dropdown-menu dropdown-usermenu pull-right">
									<li><a href="login.html"><i
											class="fa fa-sign-out pull-right"></i> Log Out</a></li>
								</ul></li>
						</ul>
					</nav>
				</div>
			</div>